﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Emerson.Storage.Core;
using System.Data.Objects;

namespace Emerson.Storage.ObjectContextInMemory
{
    public class ObjectSetInMemory<TEntity> : IObjectSet<TEntity> where TEntity : class
    {
        private readonly List<TEntity> entityList;

        #region IObjectSet<TEntity> Members

        public void AddObject(TEntity entity)
        {
            throw new NotImplementedException();
        }

        public void Attach(TEntity entity)
        {
            throw new NotImplementedException();
        }

        public void Detach(TEntity entity)
        {

        }

        public void DeleteObject(TEntity entity)
        {
            throw new NotImplementedException();
        }

        #endregion

        #region IEnumerable<TEntity> Members

        public IEnumerator<TEntity> GetEnumerator()
        {
            throw new NotImplementedException();
        }

        #endregion

        #region IEnumerable Members

        System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
        {
            throw new NotImplementedException();
        }

        #endregion

        #region IQueryable Members

        public Type ElementType
        {
            get { throw new NotImplementedException(); }
        }

        public System.Linq.Expressions.Expression Expression
        {
            get { throw new NotImplementedException(); }
        }

        public IQueryProvider Provider
        {
            get { throw new NotImplementedException(); }
        }

        #endregion
    }
}
